
add_definitions(
-DUNICODE
-D_UNICODE
)

set(UIPARENT_SRC
UIParent/immapi.cpp
UIParent/immapi.h
UIParent/UIParent.cpp
UIParent/UIParent.h
${PUBLIC_HEADERS}/GUI.h
)

add_library(GUI SHARED
	${UIPARENT_SRC} 
)

target_link_libraries(GUI
	w32
)

set_target_properties(GUI PROPERTIES 
	LINK_FLAGS "/EXPORT:CreateUIParent" 
)

#set_target_properties(GUI PROPERTIES FOLDER lualibs)
install(TARGETS GUI RUNTIME DESTINATION ${INSTALL_DIR})
install(TARGETS GUI ARCHIVE DESTINATION ${LIBRARY_DIR})



